package com.st.shopadmin.service;

import com.github.pagehelper.PageInfo;
import com.st.shopadmin.common.ServerResponse;
import com.st.shopadmin.pojo.MessageContent;
import com.st.shopadmin.pojo.Shop;
import com.st.shopadmin.pojo.User;
import java.util.List;

public interface SystemNoticeService {

    ServerResponse<List> getLists(int pageNum, int pageSize);

    ServerResponse<PageInfo> page(int pageNum, int pageSize);

    ServerResponse<String> addMessage(MessageContent messageContent);

    ServerResponse updateMessage(String title ,String content,Long messageId);

    ServerResponse<MessageContent> detailMessage(Long messageId);
}
